// 北京地区地址字典
const datas: any[] = [
  // 东城
  { code: '110000', area: '北京市' },
  { code: '110101', area: '东城区' },
  { code: '110101001000', area: '东华门街道' },
  { code: '110101002000', area: '景山街道' },
  { code: '110101003000', area: '交道口街道' },
  { code: '110101004000', area: '安定门街道' },
  { code: '110101005000', area: '北新桥街道' },
  { code: '110101006000', area: '东四街道' },
  { code: '110101007000', area: '朝阳门街道' },
  { code: '110101008000', area: '建国门街道' },
  { code: '110101009000', area: '东直门街道' },
  { code: '110101010000', area: '和平里街道' },
  { code: '110101011000', area: '前门街道' },
  { code: '110101012000', area: '崇文门外街道' },
  { code: '110101013000', area: '东花市街道' },
  { code: '110101014000', area: '龙潭街道' },
  { code: '110101015000', area: '体育馆路街道' },
  { code: '110101016000', area: '天坛街道' },
  { code: '110101017000', area: '永定门外街道' },
  // 西城区
  { code: '110102', area: '西城区' },
  { code: '110102001000', area: '西长安街街道' },
  { code: '110102003000', area: '新街口街道' },
  { code: '110102007000', area: '月坛街道' },
  { code: '110102009000', area: '展览路街道' },
  { code: '110102010000', area: '德胜街道' },
  { code: '110102011000', area: '金融街街道' },
  { code: '110102012000', area: '什刹海街道' },
  { code: '110102013000', area: '大栅栏街道' },
  { code: '110102014000', area: '天桥街道' },
  { code: '110102015000', area: '椿树街道' },
  { code: '110102016000', area: '陶然亭街道' },
  { code: '110102017000', area: '广安门内街道' },
  { code: '110102018000', area: '牛街街道' },
  { code: '110102019000', area: '白纸坊街道' },
  { code: '110102020000', area: '广安门外街道' },
  // 朝阳区
  { code: '110105', area: '朝阳区' },
  { code: '110105001000', area: '建外街道' },
  { code: '110105002000', area: '朝外街道' },
  { code: '110105003000', area: '呼家楼街道' },
  { code: '110105004000', area: '三里屯街道' },
  { code: '110105005000', area: '左家庄街道' },
  { code: '110105006000', area: '香河园街道' },
  { code: '110105007000', area: '和平街街道' },
  { code: '110105008000', area: '安贞街道' },
  { code: '110105009000', area: '亚运村街道' },
  { code: '110105010000', area: '小关街道' },
  { code: '110105011000', area: '酒仙桥街道' },
  { code: '110105012000', area: '麦子店街道' },
  { code: '110105013000', area: '团结湖街道' },
  { code: '110105014000', area: '六里屯街道' },
  { code: '110105015000', area: '八里庄街道' },
  { code: '110105016000', area: '双井街道' },
  { code: '110105017000', area: '劲松街道' },
  { code: '110105018000', area: '潘家园街道' },
  { code: '110105019000', area: '垡头街道' },
  { code: '110105021000', area: '南磨房地区' },
  { code: '110105022000', area: '高碑店地区' },
  { code: '110105023000', area: '将台地区' },
  { code: '110105024000', area: '太阳宫地区' },
  { code: '110105025000', area: '大屯街道' },
  { code: '110105026000', area: '望京街道' },
  { code: '110105027000', area: '小红门地区' },
  { code: '110105028000', area: '十八里店地区' },
  { code: '110105029000', area: '平房地区' },
  { code: '110105030000', area: '东风地区' },
  { code: '110105031000', area: '奥运村街道' },
  { code: '110105032000', area: '来广营地区' },
  { code: '110105033000', area: '常营地区' },
  { code: '110105034000', area: '三间房地区' },
  { code: '110105035000', area: '管庄地区' },
  { code: '110105036000', area: '金盏地区' },
  { code: '110105037000', area: '孙河地区' },
  { code: '110105038000', area: '崔各庄地区' },
  { code: '110105039000', area: '东坝地区' },
  { code: '110105040000', area: '黑庄户地区' },
  { code: '110105041000', area: '豆各庄地区' },
  { code: '110105042000', area: '王四营地区' },
  { code: '110105043000', area: '东湖街道' },
  { code: '110105400000', area: '首都机场街道' },
  // 丰台区
  { code: '110106', area: '丰台区' },
  { code: '110106001000', area: '右安门街道' },
  { code: '110106002000', area: '太平桥街道' },
  { code: '110106003000', area: '西罗园街道' },
  { code: '110106004000', area: '大红门街道' },
  { code: '110106005000', area: '南苑街道' },
  { code: '110106006000', area: '东高地街道' },
  { code: '110106007000', area: '东铁匠营街道' },
  { code: '110106008000', area: '六里桥街道' },
  { code: '110106009000', area: '丰台街道' },
  { code: '110106010000', area: '新村街道' },
  { code: '110106011000', area: '长辛店街道' },
  { code: '110106012000', area: '云岗街道' },
  { code: '110106013000', area: '方庄街道' },
  { code: '110106014000', area: '宛平街道' },
  { code: '110106015000', area: '马家堡街道' },
  { code: '110106016000', area: '和义街道' },
  { code: '110106017000', area: '卢沟桥街道' },
  { code: '110106018000', area: '花乡街道' },
  { code: '110106020000', area: '成寿寺街道' },
  { code: '110106021000', area: '石榴庄街道' },
  { code: '110106022000', area: '玉泉营街道' },
  { code: '110106023000', area: '看丹街道' },
  { code: '110106024000', area: '五里店街道' },
  { code: '110106025000', area: '青塔街道' },
  { code: '110106100000', area: '北宫镇' },
  { code: '110106101000', area: '王佐镇' },
  // 石景山区
  { code: '110107', area: '石景山区' },
  { code: '110107001000', area: '八宝山街道' },
  { code: '110107002000', area: '老山街道' },
  { code: '110107003000', area: '八角街道' },
  { code: '110107004000', area: '古城街道' },
  { code: '110107005000', area: '苹果园街道' },
  { code: '110107006000', area: '金顶街街道' },
  { code: '110107009000', area: '广宁街道' },
  { code: '110107010000', area: '五里坨街道' },
  { code: '110107011000', area: '鲁谷街道' },

  // 海淀区
  { code: '110108', area: '海淀区' },
  { code: '110108001000', area: '万寿路街道' },
  { code: '110108002000', area: '永定路街道' },
  { code: '110108003000', area: '羊坊店街道' },
  { code: '110108004000', area: '甘家口街道' },
  { code: '110108005000', area: '八里庄街道' },
  { code: '110108006000', area: '紫竹院街道' },
  { code: '110108007000', area: '北下关街道' },
  { code: '110108008000', area: '北太平庄街道' },
  { code: '110108010000', area: '学院路街道' },
  { code: '110108011000', area: '中关村街道' },
  { code: '110108012000', area: '海淀街道' },
  { code: '110108013000', area: '青龙桥街道' },
  { code: '110108014000', area: '清华园街道' },
  { code: '110108015000', area: '燕园街道' },
  { code: '110108016000', area: '香山街道' },
  { code: '110108017000', area: '清河街道' },
  { code: '110108018000', area: '花园路街道' },
  { code: '110108019000', area: '西三旗街道' },
  { code: '110108020000', area: '马连洼街道' },
  { code: '110108021000', area: '田村路街道' },
  { code: '110108022000', area: '上地街道' },
  { code: '110108023000', area: '万柳地区' },
  { code: '110108024000', area: '东升地区' },
  { code: '110108025000', area: '曙光街道' },
  { code: '110108026000', area: '温泉地区' },
  { code: '110108027000', area: '四季青地区' },
  { code: '110108028000', area: '西北旺地区' },
  { code: '110108029000', area: '苏家坨地区' },
  { code: '110108030000', area: '上庄地区' },
  // 	门头沟区
  { code: '110109', area: '门头沟区' },
  { code: '110109001000', area: '大峪街道' },
  { code: '110109002000', area: '城子街道' },
  { code: '110109003000', area: '东辛房街道' },
  { code: '110109004000', area: '大台街道' },
  { code: '110109005000', area: '王平地区' },
  { code: '110109006000', area: '永定地区' },
  { code: '110109007000', area: '龙泉地区' },
  { code: '110109101000', area: '潭柘寺镇' },
  { code: '110109104000', area: '军庄镇' },
  { code: '110109105000', area: '雁翅镇' },
  { code: '110109106000', area: '斋堂镇' },
  { code: '110109107000', area: '清水镇' },
  { code: '110109108000', area: '妙峰山镇' },

  // 房山区
  { code: '110111', area: '房山区' },
  { code: '110111001000', area: '城关街道' },
  { code: '110111002000', area: '新镇街道' },
  { code: '110111004000', area: '向阳街道' },
  { code: '110111005000', area: '东风街道' },
  { code: '110111006000', area: '迎风街道' },
  { code: '110111007000', area: '星城街道' },
  { code: '110111008000', area: '良乡镇' },
  { code: '110111009000', area: '周口店镇' },
  { code: '110111010000', area: '琉璃河镇' },
  { code: '110111011000', area: '拱辰街道' },
  { code: '110111012000', area: '西潞街道' },
  { code: '110111101000', area: '阎村镇' },
  { code: '110111103000', area: '窦店镇' },
  { code: '110111104000', area: '石楼镇' },
  { code: '110111105000', area: '长阳镇' },
  { code: '110111107000', area: '河北镇' },
  { code: '110111108000', area: '长沟镇' },
  { code: '110111109000', area: '大石窝镇' },
  { code: '110111110000', area: '张坊镇' },
  { code: '110111111000', area: '十渡镇' },
  { code: '110111112000', area: '青龙湖镇' },
  { code: '110111115000', area: '韩村河镇' },
  { code: '110111208000', area: '霞云岭乡' },
  { code: '110111209000', area: '南窖乡' },
  { code: '110111210000', area: '佛子庄乡' },
  { code: '110111211000', area: '大安山乡' },
  { code: '110111212000', area: '史家营乡' },
  { code: '110111213000', area: '蒲洼乡' },
  //	通州区
  { code: '110112', area: '通州区' },
  { code: '110112001000', area: '中仓街道' },
  { code: '110112002000', area: '新华街道' },
  { code: '110112003000', area: '北苑街道' },
  { code: '110112004000', area: '玉桥街道' },
  { code: '110112007000', area: '潞源街道' },
  { code: '110112008000', area: '通运街道' },
  { code: '110112009000', area: '文景街道' },
  { code: '110112010000', area: '九棵树街道' },
  { code: '110112011000', area: '临河里街道' },
  { code: '110112012000', area: '杨庄街道' },
  { code: '110112013000', area: '潞邑街道' },
  { code: '110112104000', area: '宋庄镇' },
  { code: '110112105000', area: '张家湾镇' },
  { code: '110112106000', area: '漷县镇' },
  { code: '110112109000', area: '马驹桥镇' },
  { code: '110112110000', area: '西集镇' },
  { code: '110112114000', area: '台湖镇' },
  { code: '110112117000', area: '永乐店镇' },
  { code: '110112119000', area: '潞城镇' },
  { code: '110112120000', area: '永顺镇' },
  { code: '110112121000', area: '梨园镇' },
  { code: '110112209000', area: '于家务回族乡' },

  // 顺义区
  { code: '110113', area: '顺义区' },
  { code: '110113001000', area: '胜利街道' },
  { code: '110113002000', area: '光明街道' },
  { code: '110113003000', area: '仁和地区' },
  { code: '110113004000', area: '后沙峪地区' },
  { code: '110113005000', area: '天竺地区' },
  { code: '110113006000', area: '杨镇地区' },
  { code: '110113007000', area: '牛栏山地区' },
  { code: '110113008000', area: '南法信地区' },
  { code: '110113009000', area: '马坡地区' },
  { code: '110113010000', area: '石园街道' },
  { code: '110113011000', area: '空港街道' },
  { code: '110113012000', area: '双丰街道' },
  { code: '110113013000', area: '旺泉街道' },
  { code: '110113101000', area: '高丽营镇' },
  { code: '110113104000', area: '李桥镇' },
  { code: '110113105000', area: '李遂镇' },
  { code: '110113106000', area: '南彩镇' },
  { code: '110113108000', area: '北务镇' },
  { code: '110113109000', area: '大孙各庄镇' },
  { code: '110113110000', area: '张镇' },
  { code: '110113111000', area: '龙湾屯镇' },
  { code: '110113112000', area: '木林镇' },
  { code: '110113113000', area: '北小营镇' },
  { code: '110113115000', area: '北石槽镇' },
  { code: '110113116000', area: '赵全营镇' },

  // 昌平区
  { code: '110114', area: '昌平区' },
  { code: '110114001000', area: '城北街道' },
  { code: '110114002000', area: '南口地区' },
  { code: '110114003000', area: '马池口地区' },
  { code: '110114004000', area: '沙河地区' },
  { code: '110114005000', area: '城南街道' },
  { code: '110114007000', area: '东小口地区' },
  { code: '110114008000', area: '天通苑北街道' },
  { code: '110114009000', area: '天通苑南街道' },
  { code: '110114010000', area: '霍营街道' },
  { code: '110114011000', area: '回龙观街道' },
  { code: '110114012000', area: '龙泽园街道' },
  { code: '110114013000', area: '史各庄街道' },
  { code: '110114104000', area: '阳坊镇' },
  { code: '110114110000', area: '小汤山镇' },
  { code: '110114111000', area: '南邵镇' },
  { code: '110114112000', area: '崔村镇' },
  { code: '110114113000', area: '百善镇' },
  { code: '110114115000', area: '北七家镇' },
  { code: '110114116000', area: '兴寿镇' },
  { code: '110114118000', area: '流村镇' },
  { code: '110114119000', area: '十三陵镇' },
  { code: '110114120000', area: '延寿镇' },
  //	大兴区
  { code: '110115', area: '大兴区' },
  { code: '110115001000', area: '兴丰街道' },
  { code: '110115002000', area: '林校路街道' },
  { code: '110115003000', area: '清源街道' },
  { code: '110115004000', area: '亦庄地区' },
  { code: '110115005000', area: '黄村地区' },
  { code: '110115006000', area: '旧宫地区' },
  { code: '110115007000', area: '西红门地区' },
  { code: '110115008000', area: '瀛海地区' },
  { code: '110115009000', area: '观音寺街道' },
  { code: '110115010000', area: '天宫院街道' },
  { code: '110115011000', area: '高米店街道' },
  { code: '110115103000', area: '青云店镇' },
  { code: '110115104000', area: '采育镇' },
  { code: '110115105000', area: '安定镇' },
  { code: '110115106000', area: '礼贤镇' },
  { code: '110115107000', area: '榆垡镇' },
  { code: '110115108000', area: '庞各庄镇' },
  { code: '110115109000', area: '北臧村镇' },
  { code: '110115110000', area: '魏善庄镇' },
  { code: '110115111000', area: '长子营镇' },
  { code: '110115404000', area: '中关村国家自主创新示范区大兴生物医药产业基地' },
  { code: '110115405000', area: '国家新媒体产业基地' },
  // 	怀柔区
  { code: '110116', area: '怀柔区' },
  { code: '110116001000', area: '泉河街道' },
  { code: '110116002000', area: '龙山街道' },
  { code: '110116003000', area: '怀柔镇' },
  { code: '110116004000', area: '雁栖镇' },
  { code: '110116005000', area: '庙城镇' },
  { code: '110116102000', area: '北房镇' },
  { code: '110116103000', area: '杨宋镇' },
  { code: '110116105000', area: '桥梓镇' },
  { code: '110116106000', area: '怀北镇' },
  { code: '110116107000', area: '汤河口镇' },
  { code: '110116108000', area: '渤海镇' },
  { code: '110116109000', area: '九渡河镇' },
  { code: '110116110000', area: '琉璃庙镇' },
  { code: '110116111000', area: '宝山镇' },
  { code: '110116211000', area: '长哨营满族乡' },
  { code: '110116213000', area: '喇叭沟门满族乡' },
  // 	平谷区
  { code: '110117', area: '平谷区' },
  { code: '110117001000', area: '滨河街道' },
  { code: '110117002000', area: '兴谷街道' },
  { code: '110117003000', area: '渔阳地区' },
  { code: '110117004000', area: '峪口地区' },
  { code: '110117005000', area: '马坊地区' },
  { code: '110117006000', area: '金海湖地区' },
  { code: '110117101000', area: '东高村镇' },
  { code: '110117102000', area: '山东庄镇' },
  { code: '110117104000', area: '南独乐河镇' },
  { code: '110117105000', area: '大华山镇' },
  { code: '110117106000', area: '夏各庄镇' },
  { code: '110117108000', area: '马昌营镇' },
  { code: '110117110000', area: '王辛庄镇' },
  { code: '110117111000', area: '大兴庄镇' },
  { code: '110117112000', area: '刘家店镇' },
  { code: '110117114000', area: '镇罗营镇' },
  { code: '110117213000', area: '黄松峪乡' },
  { code: '110117214000', area: '熊儿寨乡' },
  // 	密云区
  { code: '110118', area: '密云区' },
  { code: '110118001000', area: '鼓楼街道' },
  { code: '110118002000', area: '果园街道' },
  { code: '110118003000', area: '檀营地区' },
  { code: '110118100000', area: '密云镇' },
  { code: '110118101000', area: '溪翁庄镇' },
  { code: '110118102000', area: '西田各庄镇' },
  { code: '110118103000', area: '十里堡镇' },
  { code: '110118104000', area: '河南寨镇' },
  { code: '110118105000', area: '巨各庄镇' },
  { code: '110118106000', area: '穆家峪镇' },
  { code: '110118107000', area: '太师屯镇' },
  { code: '110118108000', area: '高岭镇' },
  { code: '110118109000', area: '不老屯镇' },
  { code: '110118110000', area: '冯家峪镇' },
  { code: '110118111000', area: '古北口镇' },
  { code: '110118112000', area: '大城子镇' },
  { code: '110118113000', area: '东邵渠镇' },
  { code: '110118114000', area: '北庄镇' },
  { code: '110118115000', area: '新城子镇' },
  { code: '110118116000', area: '石城镇' },
  { code: '110118400000', area: '北京密云经济开发区' },
  // 	延庆区
  { code: '110119', area: '延庆区' },
  { code: '110119001000', area: '百泉街道' },
  { code: '110119002000', area: '香水园街道' },
  { code: '110119003000', area: '儒林街道' },
  { code: '110119100000', area: '延庆镇' },
  { code: '110119101000', area: '康庄镇' },
  { code: '110119102000', area: '八达岭镇' },
  { code: '110119103000', area: '永宁镇' },
  { code: '110119104000', area: '旧县镇' },
  { code: '110119105000', area: '张山营镇' },
  { code: '110119106000', area: '四海镇' },
  { code: '110119107000', area: '千家店镇' },
  { code: '110119108000', area: '沈家营镇' },
  { code: '110119109000', area: '大榆树镇' },
  { code: '110119110000', area: '井庄镇' },
  { code: '110119200000', area: '大庄科乡' },
  { code: '110119201000', area: '刘斌堡乡' },
  { code: '110119202000', area: '香营乡' },
  { code: '110119203000', area: '珍珠泉乡' },
  { code: '110171', area: '北京市经济技术开发区' },
  { code: '110171701000', area: '荣华街道' },
  { code: '110171702000', area: '博兴街道' },
];

export function selectClassFlyDict(value: string) {
  const area: any[] = [];
  datas.forEach((item: any) => {
    if (item.code === value) return area.push(item.area);
  });
  // console.log('@area---', area.join(''));
  return area.join('');
}
